import request from '@/utils/request'



// 获取首页模块数据
export function homeModelList(params){
    return request({
        url:'/history-admin/system/composite/portal/home/modelList',
        method:'get',
        params
    })
}


// 查询乡镇、街道列表
export function townList(params){
    return request({
        url:'/history-admin/system/composite/portal/town/list',
        method:'get',
        params
    })
}

// 获取村志类目树
export function chroniclesTree(params){
    return request({
        url:'/history-admin/system/composite/portal/chronicles/tree',
        method:'get',
        params
    })
}

// 根据乡镇、街道id获取详情数据
export function townInfo(params){
    return request({
        url:'/history-admin/system/composite/portal/town/info',
        method:'get',
        params
    })
}

// 根据id取下级村、社区列表
export function townChildList(params){
    return request({
        url:'/history-admin/system/composite/portal/town/childList',
        method:'get',
        params
    })
}




